
// 模拟后端API服务
window.API = {
    // 获取所有配置数据
    async getConfig() {
        // 这里可以替换为实际的API调用
        return new Promise((resolve) => {
            setTimeout(() => {
                resolve({
                    hero: {
                        video: 'https://txmeetvip.oss-cn-beijing.aliyuncs.com/tmp/ai-employee.mp4'//ai员工视频
                    },
                    jobs: [
                        {
                            title: 'AI法务总监',
                            shortTitle: 'AI法务',
                            video: 'https://txmeetvip.oss-cn-beijing.aliyuncs.com/tmp/legal-director.mp4'
                        },
                        {
                            title: 'AI人力资源总监',
                            shortTitle: 'AI人力资源',
                            video: 'https://txmeetvip.oss-cn-beijing.aliyuncs.com/tmp/human-resources-director.mp4'
                        },
                        {
                            title: 'AI销售总监',
                            shortTitle: 'AI销售',
                            video: 'https://txmeetvip.oss-cn-beijing.aliyuncs.com/tmp/sales-director.mp4'
                        },
                        {
                            title: 'AI财务总监',
                            shortTitle: 'AI财务',
                            video: 'https://txmeetvip.oss-cn-beijing.aliyuncs.com/tmp/finance-director.mp4'
                        },
                        {
                            title: 'AI营销总监',
                            shortTitle: 'AI营销',
                            video: 'https://txmeetvip.oss-cn-beijing.aliyuncs.com/tmp/marketing-director.mp4'
                        }
                    ]
                });
            }, 100); // 模拟网络延迟
        });
    }
};
